<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>企业会员登陆 | {{Site::get('webname')}}</title>

    <link rel="stylesheet" href="{{asset('default/css/public.css')}}">
    <link rel="stylesheet" href="{{asset('default/css/company/login.css')}}">

</head>
<body>
<div class="contain">
    <div class="containCenter">
        <div class="containFloat">
            <div class="logo"><a href="{{url('/')}}"><img src="{{url('default/images/logo/logo.png')}}"></a>  </div>
            <div class="loginBox">
                <div class="loginTitle">企业会员登录</div>
                <div class="loginContain">
                    <div class="loginLeft">
                        <div class="loginform">
                            <form action="{{ url('/company/login') }}" method="post" >
                                {!! csrf_field() !!}
                                <ul>
                                    <li class="box"><input name="username" id="username" type="text" class="form" placeholder="企业用户名/企业手机"  value="{{ request('mobile') }}"/></li>
                                    <li class="errInfo">
                                        @if ($errors->has('username'))
                                            <span class="help-block">
                                        <strong>{{ $errors->first('username') }}</strong>
                                        </span>
                                        @endif
                                    </li>
                                    <li class="box"><input name="password" id="password" type="password" placeholder="请输入密码" class="form" value="{{ old('password') }}"/></li>
                                    <li class="errInfo">
                                        @if ($errors->has('password'))
                                            <span class="help-block">
                                        <strong>{{ $errors->first('password') }}</strong>
                                        </span>
                                        @endif
                                    </li>
                                    <li class="forget"><span class="remember"><input type="checkbox" id="remember" checked name="remember"><label for="remember">记住密码</label></span><span class="nav"><a href="{{url('company/find_password')}}">忘记密码？</a></span></li>
                                    <li class="subbox"><input name="reg" type="submit" class="sub" value="登 录"/></li>
                                  <li class="reg"><span>还不是企业会员？<a href="{{url('/company/register')}}">立即注册</a> </span><i></i></li>
                                </ul>
                            </form>
                        </div>
                    </div>
                    <div class="loginRight">
                        <div class="content">
                            <div class="tips">如有需要任何贴心的服务：</div>
                            <div class="tel"><i></i><span>{{Site::get('tel')}}</span></div>
                            <div class="qrcode"><img src="/default/images/logo/code_company_weixin.png"> </div>
                            <div class="qrtext">[扫一扫使用微信端]</div>
                            <div class="chLogin">
                                <dl>
                                    <dt>使用以下帐号直接登录：</dt>
                                    @if(!empty(site::get('CompanyAppid')))
                                    <dd><a href="{{ url("company/qqlogin") }}"><i class="qq_icon"></i></a></dd>
                                    @endif
                                    @if(!empty(site::get('mpCompanyOpenAppID')))
                                    <dd class="weixin"><a href="{{ weiXinlogin('company') }}"><i class="wexin_icon"></i></a></dd>
                                    @endif
                                </dl>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="{{asset('/default/js/jquery.js')}}"></script>
<script type="text/javascript" src="{{asset('/default/js/jquery/jquery.enplaceholder.js')}}"></script>
<script type="text/javascript" src="{{asset('/vendor/org/layer/layer.js')}}"></script>

<script>
    $('form input[placeholder]').placeholder({isUseSpan:true});
    var errMsg = "{{ session('errMsg') }}";
    layer.ready(function() {
        if (errMsg != '') {
            layer.msg(errMsg, {icon: 5});
        }
    });
</script>
</body>
</html>